package Day5Zuoye;

public class PetDog extends Pet {
    public PetDog(String name, String strain, int heavy) {
        super(name, strain, heavy);
    }

    public void show(){
        System.out.println("名字:"+getName()+"\t品种:"+getStrain()+"\t体重:"+getHeavy()+"g");
        System.out.println("狗拿耗子，多管闲事");
    }
}
